package com.jrx.anytxn.param.enums;

/**
 * ClassName RightsEffectivePeriodInActivityEnum
 * "00：无限制，（此时和对应下发权益/资格参数一致）
 * 01：当周
 * 02：当周周五-周日
 * 03：当月
 * 04：当季
 * 05：当年"
 *
 * @author lujianyou
 * @version 1.0
 * @description 对应发送权益的生效时间
 * @date 2021/7/4 16:52
 **/
public enum RightsEffectivePeriodInActivityEnum {

    FREE("00","无限制"),
    WEEKLY("01","当周"),
    FRIDAY_TO_SUNDAY("02","当周周五-周日"),
    MONTHLY("03","当月"),
    QUARTERLY("04","当季"),
    YEARLY("05","当年"),
    MONTHSLY("06","往后连月"),
    ONEYEAR("07","一年");;

    private String code;
    private String msg;

    RightsEffectivePeriodInActivityEnum(String code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
